package com.manage.customer.dao;

import com.manage.customer.entity.Customer;
import com.manage.customer.provider.CustomerProvider;
import com.manage.utils.Criteria;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

/**
 * @author Fitch
 */
@Mapper
public interface CustomerMapper {

    @SelectProvider(type = CustomerProvider.class,method = "findPage")
    List<Customer> findList(Criteria criteria);
}
